package com.itcaius.myandroidhomework.data.database;

import androidx.room.Database;
import androidx.room.RoomDatabase;
import androidx.room.TypeConverters;

import com.itcaius.myandroidhomework.data.dao.UserDao;
import com.itcaius.myandroidhomework.data.entity.UserEntity;
import com.itcaius.myandroidhomework.utils.GenderConverter;

@Database(entities = {UserEntity.class}, version = 1, exportSchema = false)
@TypeConverters(GenderConverter.class)
public abstract class UserDatabase extends RoomDatabase{
    public abstract UserDao userDao();
}
